package com.firexxx.study.designmodel.sixconcept.requirement.errormodify;

/**
 * @description: 修正类需求：哎，5折太亏本了，改成8折吧
 * @author: zhuangzhang2
 * @date: 2021-01-04 13:54
 */
public class Main {

    public static void main(String[] args) {
        int price = 100;
        int discountedPrice = new DiscountService().discount(price);
        System.out.println("原始价格" + price + ",折扣后价格" + discountedPrice);
    }

}
